package edu.sctu.zhengsenwen.month201505.day25150505;

/**
 * Created by user15 on 2015/5/5.
 */
public class MonkeysEatPeach {
    public static void main(String[] args) {
        int d=9;
        int n=1;
        while (d>=1){
            n=(n+1)*2;
            d--;
        }
        System.out.println("The first day has "+n+" peach.");
    }
}
